package cn.chinaunicom.service.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class DemoController {
    @RequestMapping("/hello")
    public String helloWord(){
        log.info("helloWord");
        return "hell word!";
    };



    @RequestMapping("/busiIntserName")
    public String busiIntserName(@RequestBody String req){
        log.info("busiIntserName:" + req.toString());
        return "busiIntserName:" + req.toString();
    };




}
